package com.wms.common.constant;

/**
 * 管理Redis缓存键命名规则
 */
public class CacheConstants {
    /**
     * 用户登录令牌
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";
    /**
     * 验证码
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";
    /**
     * 系统参数
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";
    /**
     * 数据字典
     */
    public static final String SYS_DICT_KEY = "sys_dict:";
    /**
     * 防重提交
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";
    /**
     * 限流
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";
}
